Integrand size = 38, antiderivative size = 155 \[ \int \frac {\tan ^{\frac {3}{2}}(c+d x) (a B+b B \tan (c+d x))}{(a+b \tan (c+d x))^{3/2}} \, dx=-\frac {B \arctan \left (\frac {\sqrt {i a-b} \sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{\sqrt {i a-b} d}+\frac {2 B \text {arctanh}\left (\frac {\sqrt {b} \sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{\sqrt {b} d}-\frac {B \text {arctanh}\left (\frac {\sqrt {i a+b} \sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{\sqrt {i a+b} d} \]
[Out]
Time = 0.24 (sec) , antiderivative size = 155, normalized size of antiderivative = 1.00, number of steps used = 13, number of rules used = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.263, Rules used = {21, 3656, 924, 65, 223, 212, 926, 95, 211, 214} \[ \int \frac {\tan ^{\frac {3}{2}}(c+d x) (a B+b B \tan (c+d x))}{(a+b \tan (c+d x))^{3/2}} \, dx=-\frac {B \arctan \left (\frac {\sqrt {-b+i a} \sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{d \sqrt {-b+i a}}+\frac {2 B \text {arctanh}\left (\frac {\sqrt {b} \sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{\sqrt {b} d}-\frac {B \text {arctanh}\left (\frac {\sqrt {b+i a} \sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{d \sqrt {b+i a}} \]
[In]
[Out]
Rule 21
Rule 65
Rule 95
Rule 211
Rule 212
Rule 214
Rule 223
Rule 924
Rule 926
Rule 3656
Rubi steps \begin{align*} \text {integral}& = B \int \frac {\tan ^{\frac {3}{2}}(c+d x)}{\sqrt {a+b \tan (c+d x)}} \, dx \\ & = \frac {B \text {Subst}\left (\int \frac {x^{3/2}}{\sqrt {a+b x} \left (1+x^2\right )} \, dx,x,\tan (c+d x)\right )}{d} \\ & = \frac {B \text {Subst}\left (\int \left (\frac {1}{\sqrt {x} \sqrt {a+b x}}-\frac {1}{\sqrt {x} \sqrt {a+b x} \left (1+x^2\right )}\right ) \, dx,x,\tan (c+d x)\right )}{d} \\ & = \frac {B \text {Subst}\left (\int \frac {1}{\sqrt {x} \sqrt {a+b x}} \, dx,x,\tan (c+d x)\right )}{d}-\frac {B \text {Subst}\left (\int \frac {1}{\sqrt {x} \sqrt {a+b x} \left (1+x^2\right )} \, dx,x,\tan (c+d x)\right )}{d} \\ & = -\frac {B \text {Subst}\left (\int \left (\frac {i}{2 (i-x) \sqrt {x} \sqrt {a+b x}}+\frac {i}{2 \sqrt {x} (i+x) \sqrt {a+b x}}\right ) \, dx,x,\tan (c+d x)\right )}{d}+\frac {(2 B) \text {Subst}\left (\int \frac {1}{\sqrt {a+b x^2}} \, dx,x,\sqrt {\tan (c+d x)}\right )}{d} \\ & = -\frac {(i B) \text {Subst}\left (\int \frac {1}{(i-x) \sqrt {x} \sqrt {a+b x}} \, dx,x,\tan (c+d x)\right )}{2 d}-\frac {(i B) \text {Subst}\left (\int \frac {1}{\sqrt {x} (i+x) \sqrt {a+b x}} \, dx,x,\tan (c+d x)\right )}{2 d}+\frac {(2 B) \text {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {\sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{d} \\ & = \frac {2 B \text {arctanh}\left (\frac {\sqrt {b} \sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{\sqrt {b} d}-\frac {(i B) \text {Subst}\left (\int \frac {1}{i-(-a+i b) x^2} \, dx,x,\frac {\sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{d}-\frac {(i B) \text {Subst}\left (\int \frac {1}{i-(a+i b) x^2} \, dx,x,\frac {\sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{d} \\ & = -\frac {B \arctan \left (\frac {\sqrt {i a-b} \sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{\sqrt {i a-b} d}+\frac {2 B \text {arctanh}\left (\frac {\sqrt {b} \sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{\sqrt {b} d}-\frac {B \text {arctanh}\left (\frac {\sqrt {i a+b} \sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{\sqrt {i a+b} d} \\ \end{align*}
Time = 0.84 (sec) , antiderivative size = 190, normalized size of antiderivative = 1.23 \[ \int \frac {\tan ^{\frac {3}{2}}(c+d x) (a B+b B \tan (c+d x))}{(a+b \tan (c+d x))^{3/2}} \, dx=\frac {B \left ((-1)^{3/4} \left (\frac {\arctan \left (\frac {\sqrt [4]{-1} \sqrt {-a+i b} \sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{\sqrt {-a+i b}}+\frac {\arctan \left (\frac {\sqrt [4]{-1} \sqrt {a+i b} \sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{\sqrt {a+i b}}\right )+\frac {2 \sqrt {a} \text {arcsinh}\left (\frac {\sqrt {b} \sqrt {\tan (c+d x)}}{\sqrt {a}}\right ) \sqrt {1+\frac {b \tan (c+d x)}{a}}}{\sqrt {b} \sqrt {a+b \tan (c+d x)}}\right )}{d} \]
[In]
[Out]
result has leaf size over 500,000. Avoiding possible recursion issues.
Time = 1.31 (sec) , antiderivative size = 943434, normalized size of antiderivative = 6086.67
\[\text {output too large to display}\]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 4592 vs. \(2 (123) = 246\).
Time = 1.05 (sec) , antiderivative size = 9186, normalized size of antiderivative = 59.26 \[ \int \frac {\tan ^{\frac {3}{2}}(c+d x) (a B+b B \tan (c+d x))}{(a+b \tan (c+d x))^{3/2}} \, dx=\text {Too large to display} \]
[In]
[Out]
\[ \int \frac {\tan ^{\frac {3}{2}}(c+d x) (a B+b B \tan (c+d x))}{(a+b \tan (c+d x))^{3/2}} \, dx=B \int \frac {\tan ^{\frac {3}{2}}{\left (c + d x \right )}}{\sqrt {a + b \tan {\left (c + d x \right )}}}\, dx \]
[In]
[Out]
\[ \int \frac {\tan ^{\frac {3}{2}}(c+d x) (a B+b B \tan (c+d x))}{(a+b \tan (c+d x))^{3/2}} \, dx=\int { \frac {{\left (B b \tan \left (d x + c\right ) + B a\right )} \tan \left (d x + c\right )^{\frac {3}{2}}}{{\left (b \tan \left (d x + c\right ) + a\right )}^{\frac {3}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\tan ^{\frac {3}{2}}(c+d x) (a B+b B \tan (c+d x))}{(a+b \tan (c+d x))^{3/2}} \, dx=\text {Timed out} \]
[In]
[Out]
Timed out. \[ \int \frac {\tan ^{\frac {3}{2}}(c+d x) (a B+b B \tan (c+d x))}{(a+b \tan (c+d x))^{3/2}} \, dx=\int \frac {{\mathrm {tan}\left (c+d\,x\right )}^{3/2}\,\left (B\,a+B\,b\,\mathrm {tan}\left (c+d\,x\right )\right )}{{\left (a+b\,\mathrm {tan}\left (c+d\,x\right )\right )}^{3/2}} \,d x \]
[In]
[Out]